package cn.gcyl.module.biz.controller.admin.collect.vo;

import cn.gcyl.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.gcyl.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 收藏信息分页 Request VO")
@Data
public class CollectPageReqVO extends PageParam {

    @Schema(description = "收藏id", example = "20307")
    private Long id;

    @Schema(description = "收藏id", example = "20307")
    private Long userId;
    @Schema(description = "模块")
    private String module;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "收藏时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] collectTime;

}